<?php

/*
 * This file is part of SoftSite.
 *
 * (c) 2012 Steve Tredinnick
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 *
 *
 * @package softsite
 * @author  Steve Tredinnick <steve.tredinnick@gmail.com>
 */

namespace Classes;

class Http
{
    public function RedirectExternal($url)
    {
        header("Refresh:0;url=".$url);
        exit;
    }

    public function RedirectInternal($url)
    {
        header("Refresh:0;url=".SITEURL.$url);
        exit;
    }
}
